<script setup lang="ts">
import {iconsNames} from "@/utils/constants";
type allNames = typeof iconsNames[number]
export interface Props {
  name:allNames|''
}
const props = withDefaults(defineProps<Props>(), {
  name: '',
})
</script>

<template>
  <vs-icon>
    <component :is="'VsIcon'+props.name"></component>
  </vs-icon>
</template>

<style scoped>

</style>